<template>
	<view class="personal-info-container">
		<!-- 内容区域 -->
		<view class="info-content">
			<view class="info-item">
				<text class="info-label">头像</text>
				<view class="info-value">
					<view class="avatar-large"></view>
				</view>
			</view>
			
			<view class="info-item" @click="bindPhone">
				<text class="info-label">手机号</text>
				<view class="info-value">
					<text class="phone-status">未绑定</text>
					<image class="arrow" src="/static/right-arrow.png"></image>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		methods: {
			bindPhone() {
				// 绑定手机号的逻辑
				uni.showToast({
					title: '跳转到绑定手机号页面',
					icon: 'none'
				});
			}
		}
	}
</script>

<style>
	.personal-info-container {
		background-color: #f5f5f5;
		min-height: 100vh;
		padding-top: 20rpx;
	}
	
	.info-content {
		background-color: #fff;
		border-radius:12rpx;
	}
	
	.info-item {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 30rpx;
		border-bottom: 1rpx solid #f5f5f5;
	}
	
	.info-label {
		font-size: 32rpx;
		color: #333;
	}
	
	.info-value {
		display: flex;
		align-items: center;
	}
	
	.avatar-large {
		width: 100rpx;
		height: 100rpx;
		border-radius: 50%;
		background-color: #eee;
	}
	
	.phone-status {
		font-size: 28rpx;
		color: #999;
		margin-right: 20rpx;
	}
	
	.arrow {
		width: 50rpx;
		height: 50rpx;
	}
	
	.nav-back {
		width: 40rpx;
		height: 40rpx;
	}
	
	.back-icon {
		width: 40rpx;
		height: 40rpx;
	}
	
	.nav-title {
		font-size: 36rpx;
		color: #fff;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}
</style>